//
// Created by pzw on 24-3-21.
//

#ifndef QTTEST_RANGEFUNC_H
#define QTTEST_RANGEFUNC_H

#include <vector>
#include <iterator>
#include <iostream>
#include <functional>

class RangeFunc {
public:
    template<template<typename, typename ...> class Cont, typename Tp>
    static int range_func_forEach(Cont<Tp> &vs, std::function<void(Tp &)> function);
    template<class Cont, typename Tp>
    static int range_func_forEach2(Cont &vs, std::function<void(Tp &)> function);
};

int RangeFunc_main();

#endif //QTTEST_RANGEFUNC_H
